<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Notice</title>
</head><body>#Ex:rkflashtools<br/>
<br/>
linux下查看USB数据<br/>
#需要modprobe usbmon.<br/>
#数据说明看usbmon.txt<br/>
#URB tag:标志<br/>
#TimeStamp：毫秒数<br/>
#Event Type： &nbsp;<ul><li style="list-style-type: none"><ul><li style="list-style-type: none">S - submission,</li>
<li style="list-style-type: none">C - callback,</li>
<li style="list-style-type: none">E - submission error.</li>
</ul>
</li>
</ul>
#URBType：BusNo：DeviceAddr：EndPointNum<ul><li style="list-style-type: none">Ci Co &nbsp; Control input and output</li>
<li style="list-style-type: none">Zi Zo &nbsp; Isochronous input and output</li>
<li style="list-style-type: none">Ii Io &nbsp; Interrupt input and output</li>
<li style="list-style-type: none">Bi Bo &nbsp; Bulk input and output</li>
</ul>
#URB Status： 0为没有错误。-XXX是错误码。<br/>
cat /proc/bus/usb/devices<br/>
sudo cat /sys/kernel/debug/usb/usbmon/0u<br/>
</body></html>